// 基于template/src/widgets/{{appEntities}}/{{ctrls@GRID}}-grid/{{spinalCase ctrl.codeName}}-grid-vo.ts.hbs生成
import { ControlVOBase } from '@/core';

export class GridDataControlVO extends ControlVOBase {

    constructor(data: any){
        super(data);
        const wfKey = ['srftaskid','srftaskdefinitionkey','srfprocessdefinitionkey','srfprocessdefinitionid','srfprocessinstanceid'];
        //  表格自持属性
        this.$ownKeys = ['ibizhardware', 'productuid', 'ibizhardwarename', 'unit', 'unitprice', 'producer', 'createman', 'updatedate', 'createdate', 'ibizhardwaretype', 'updateman', 'ibizhardwareid', 'srfkey', 'srfdataaccaction', 'srfdatatype', 'srfmajortext', ...wfKey];
    }

    get productuid() {
        return this.$DO.productuid;
    }

    set productuid(value: any) {
        this.$DO.productuid = value;
    }
    get ibizhardwarename() {
        return this.$DO.ibizhardwarename;
    }

    set ibizhardwarename(value: any) {
        this.$DO.ibizhardwarename = value;
    }
    get unit() {
        return this.$DO.unit;
    }

    set unit(value: any) {
        this.$DO.unit = value;
    }
    get unitprice() {
        return this.$DO.unitprice;
    }

    set unitprice(value: any) {
        this.$DO.unitprice = value;
    }
    get producer() {
        return this.$DO.producer;
    }

    set producer(value: any) {
        this.$DO.producer = value;
    }
    get createman() {
        return this.$DO.createman;
    }

    set createman(value: any) {
        this.$DO.createman = value;
    }
    get updatedate() {
        return this.$DO.updatedate;
    }

    set updatedate(value: any) {
        this.$DO.updatedate = value;
    }
    get createdate() {
        return this.$DO.createdate;
    }

    set createdate(value: any) {
        this.$DO.createdate = value;
    }
    get ibizhardwaretype() {
        return this.$DO.ibizhardwaretype;
    }

    set ibizhardwaretype(value: any) {
        this.$DO.ibizhardwaretype = value;
    }
    get updateman() {
        return this.$DO.updateman;
    }

    set updateman(value: any) {
        this.$DO.updateman = value;
    }
    get ibizhardwareid() {
        return this.$DO.ibizhardwareid;
    }

    set ibizhardwareid(value: any) {
        this.$DO.ibizhardwareid = value;
    }
    get srfkey() {
        return this.$DO.ibizhardwareid;
    }

    set srfkey(value: any) {
        this.$DO.ibizhardwareid = value;
    }
    get srfdataaccaction() {
        return this.$DO.ibizhardwareid;
    }

    set srfdataaccaction(value: any) {
        this.$DO.ibizhardwareid = value;
    }
    get srfdatatype() {
        return this.$DO.ibizhardwaretype;
    }

    set srfdatatype(value: any) {
        this.$DO.ibizhardwaretype = value;
    }
    get srfmajortext() {
        return this.$DO.ibizhardwarename;
    }

    set srfmajortext(value: any) {
        this.$DO.ibizhardwarename = value;
    }

    set ibizhardware(value: any) {
        this.$DO.ibizhardwareid = value;
    }
    get ibizhardware() {
        return this.$DO.ibizhardwareid;
    }

    get srftaskid(){
        return this.$DO.srftaskid;
    }

    get srftaskdefinitionkey(){
        return this.$DO.srftaskdefinitionkey;
    }

    get srfprocessdefinitionkey(){
        return this.$DO.srfprocessdefinitionkey;
    }

    get srfprocessdefinitionid(){
        return this.$DO.srfprocessdefinitionid;
    }

    get srfprocessinstanceid(){
        return this.$DO.srfprocessinstanceid;
    }
}

export const GridControlVO = [{ name: 'GridControlVO', controlVO: GridDataControlVO }]